@charset "UTF-8";
.el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* height:600px; */
  max-height: calc(100% - 200px);
  max-width: calc(100% - 30px);
}

.el-dialog .el-dialog__body {
  flex: 1;
  overflow: hidden;
  max-height: 900px;
  overflow-y: auto;
}

/* 固定 Footer 样式 */
.el-dialog__footer {
  flex-shrink: 0;
  padding: 10px;
  border-top: 1px solid #ebeef5;
}

.el-table {
  /* max-height: 80%; */
  overflow: hidden;
  overflow-y: auto;
}

.el-pagination {
  display: flex;
  justify-content: end;
}

.el-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* 让 el-card 高度填满屏幕 */
}

.el-card__header {
  padding: 0 !important;
}

.el-card .el-card__body {
  flex-grow: 1;
  /* 让 el-card-body 占据剩余空间 */
  overflow: auto;
  /* 确保当内容溢出时，可以滚动 */
  padding: 20px;
  /* 给 body 一些内边距 */
}

.card-header {
  font-size: 18px !important;
  padding: 20px !important;
}
